<extend name="Public/base"/>
<block name="body">
    <table class="table table-bordered">
        <tr>
            <td colspan="5">
                <a href="{:U('add')}" class="btn btn-default">添加</a>
                <a href="{:U('/Admin/Index/index')}" class="btn btn-default">返回</a>
            </td>
        </tr>
        <tr>
            <td>编号</td>
            <td>名称</td>
            <td>描述</td>
            <td>操作</td>
        </tr>
        <foreach name="list" item="shop">
            <tr>
                <td>{$shop.itemid}</td>
                <td>{$shop.title}</td>
                <td>{$shop.description}</td>
                <td>
                    <div class="btn-group">
                        <a href="{:U('edit')}/itemid/{$shop.itemid}" class="btn btn-default">修改</a>
                        <a href="{:U('item')}/itemid/{$shop.itemid}" class="btn btn-default">视频</a>
                    </div>
                </td>
            </tr>
        </foreach>
        <tr>
            <td colspan="5">{$page}</td>
        </tr>
    </table>
</block>